﻿using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface IInventoryInitializationService
    {
        List<InventoryInitialization> GetInventoryInitializationData(string? name, out int totalCount, int pageIndex = 1, int pageSize = 15);
        bool DelInventoryInitialization(long inventoryInitializationId);
        bool AddOrModefiyInventoryInitialization(InventoryInitialization model, out string errorMsg);

        InventoryInitialization? GetInventoryInitializationById(long inventoryInitializationId);

        bool InitializeInventory(long id,out string msg);
    }
}
